//
// Created by xili on 2024/8/11 下午7:15.
// Go big or go home.
//
#include "leetcode.h"

class Solution {
public:
    int countTarget(vector<int> &scores, int target) {
        int ans = 0;
        for (auto &item: scores) {
            ans += item == target ? 1 : 0;
        }
        return ans;
    }
};